/*
 Navicat Premium Data Transfer

 Source Server         : 172.16.167.20
 Source Server Type    : MySQL
 Source Server Version : 50736
 Source Host           : 172.16.167.20:3306
 Source Schema         : lagou_db

 Target Server Type    : MySQL
 Target Server Version : 50736
 File Encoding         : 65001

 Date: 20/12/2021 18:00:05
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for products
-- ----------------------------
DROP TABLE IF EXISTS `products`;
CREATE TABLE `products` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) DEFAULT NULL,
  `price` double DEFAULT NULL,
  `flag` varchar(2) DEFAULT NULL,
  `goods_Desc` varchar(100) DEFAULT NULL,
  `images` varchar(400) DEFAULT NULL,
  `goods_Stock` int(11) DEFAULT NULL,
  `goods_Type` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of products
-- ----------------------------
BEGIN;
INSERT INTO `products` VALUES (1, '锤子手机', 1999.99, '1', '锤子牛逼', 'http:images.com/1.jpg', 100, '手机');
INSERT INTO `products` VALUES (2, '华为手机', 3999.99, '1', '华为厉害', 'http:images.com/1.jpg', 200, '手机');
INSERT INTO `products` VALUES (3, '小米手机', 2999.99, '1', '小米小米', 'http:images.com/1.jpg', 300, '手机');
INSERT INTO `products` VALUES (4, '苹果6s', 5689.99, '1', 'iphone', 'http:images.com/1.jpg', 200, '手机');
INSERT INTO `products` VALUES (5, '苹果8s', 7856.66, '1', 'iphone', 'http:images.com/1.jpg', 50, '手机');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
